public class PVar {
    public PVar(String name, Object val) { this.name = name; this.val = val; }    
    public String name() { return name;  }    
    public Object value() { return val; }    
    public boolean sameVar(PVar v) { return this.name.equals(v.name()); }
    
    public String toString() {
        return "[" + name + "=>" + (null == val ? "*unbound*" : val) + "]";
    }
    private String name;
    private Object val;    
}    
